// app/router.js
module.exports = app => {
  const { router, controller } = app

  // 配置路由规则
  router.get('/', controller.home.index)
  router.get('/about', controller.home.about)
  router.get('/foo', controller.foo.foo)
}
